<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>登陆成功</title>



    <link rel="stylesheet" href="../../static/css/homepage.css" th:href="@{/css/homepage.css}">
    <link rel="stylesheet" href="../../static/css/detailpage.css" th:href="@{/css/detailpage.css}">
    <link rel="stylesheet" href="../../static/css/typespage.css" th:href="@{/css/typespage.css}">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
</head>
<body>

<!--导航-->
<nav th:replace="admin/fragments::menu(0)" class="ui inverted attached segment ty-shadow-small">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu hp-padded-tb-mini">
            <h2 class="ui teal header item">管理后台</h2>
            <a href="#"class="nav-item item hp-mobile-hide active"><i class="home icon"></i>博客</a>
            <a href="#"class="nav-item item hp-mobile-hide"><i class="idea icon"></i>分类</a>
            <a href="#"class="nav-item item hp-mobile-hide"><i class="tags icon"></i>标签</a>
            <div class="right menu nav-item hp-mobile-hide">
                <div class="ui item dropdown">
                    <div class="text">
                        <img class="ui avatar image" src="https://unsplash.it/100/100/?random">
                        Mrbear
                    </div>
                    <i class="dropdown icon"></i>
                    <div class="menu">
                        <a href="#" class="item">注销</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui icon black button hp-nav-list-mobile hp-sidebar-hide" id="nav-sidebar">
        <i class="sidebar icon"></i>
    </a>
</nav>
<!--二级导航-->
<div class="ui attached pointing menu dt-opacity-small">
    <div class="ui container">
        <div class="right menu">
            <a href="#" class="item">发布</a>
            <a href="#" class="item">列表</a>
        </div>
    </div>
</div>

<!--中间部分-->
<div class="hp-padded-tb-large dt-container">
    <div class="ui container">
        <div class="ui success large message dt-opacity-tiny">
            <h3>hi,</h3>
            <p>Mrbear,欢迎登陆！</p>
        </div>

        <img src="../../static/images/nazi.jpg" th:src="@{/images/nazi.jpg}" alt="" class="ui rounded bordered fluid image dt-opacity-mini">
    </div>
</div>

<br><br>

<!--底部-->
<footer th:replace="fragments::footer" class="ui inverted vertical segment hp-padded-tb-massive">
    <div class="ui center aligned container">
        <div class="ui inverted divided stackable grid">
            <div class="three wide column">
                <div class="ui inverted link list">
                    <div class="item">
                        <img src="../../static/images/wechat.jpg" th:src="@{/images/wechat.jpg}" class="ui rounded image" style="width: 110px" alt="">
                    </div>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header hp-text-thin hp-text-spaced">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">用户故事 （User Story）</a>
                    <a href="#" class="item">用户故事 （User Story）</a>
                    <a href="#" class="item">用户故事 （User Story）</a>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header hp-text-thin hp-text-spaced">联系我们</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">Email:1402998477@qq.com</a>
                    <a href="#" class="item">QQ:1402998477</a>
                </div>
            </div>
            <div class="seven wide column">
                <h4 class="ui inverted header hp-text-thin hp-text-spaced">Mrbear</h4>
                <p class="hp-text-thin hp-text-spaced hp-opacity-mini">这是我的个人博客、会分享关于编程、写作、思考相关的内容，希望可以给来到这儿的人有所帮助...</p>
            </div>
        </div>
        <div class="ui inverted section divider"></div>
        <p class="hp-text-thin hp-text-spaced hp-opacity-mini">Copyright ©2019-2022 Mrbear Designed By Mrbear</p>
    </div>
</footer>

<th:block th:replace="fragments::script"></th:block>

<script>
<!--    sidebar-->
    $('#nav-sidebar').click(function () {
        $('.nav-item').toggleClass('hp-mobile-hide');
    });
<!--    用户状态-->
    $('.ui.dropdown').dropdown({
        on:'hover'
    });

</script>

<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
<script>
    L2Dwidget.init({
        "model": {
            //jsonpath控制显示那个小萝莉模型，
            //(切换模型需要改动)
//				"https://unpkg.com/(live2d-widget-model-koharu)@1.0.5/assets/(koharu).model.json"
            jsonPath: "https://unpkg.com/live2d-widget-model-hijiki@1.0.5/assets/hijiki.model.json",
            "scale": 1
        },
        "display": {
            "position": "right", //看板娘的表现位置
            "width": 150,  //小萝莉的宽度
            "height": 300, //小萝莉的高度
            "hOffset": 0,
            "vOffset": -20
        },
        "mobile": {
            "show": true,
            "scale": 0.5
        },
        "react": {
            "opacityDefault": 0.7,
            "opacityOnHover": 0.2
        }
    });
</script>

</body>
</html>